from django.conf.urls import include, url
from .views import *
from django.views.decorators.cache import cache_page

urlpatterns = [
    url(r'^login/', login),
    url(r'^register/', register),
    url(r'^userinfo/', userinfo),  # 基于url的缓存
    url(r'^logout/', logout),
    url(r'^check_username/', check_username),
]
